import dateUtil from 'element-ui/src/utils/date'

export function convertTime (date) {
    return dateUtil.format(new Date(date).getTime() + 8 * 60 * 60 * 1000, 'yyyy-MM-dd HH:mm:ss')
}

export function convertLTime (date) {
    return dateUtil.format(new Date(date).getTime(), 'yyyy-MM-dd HH:mm:ss')
}
